package com.onion.core.entity;


import java.lang.annotation.*;

@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.TYPE})
public @interface PrimaryKey {

    /**
     * 是否自增长
     * @return
     */
    boolean autoIncrement() default true;

}